.text-carousel-horizontal {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.text-container {
  display: inline-block;
  animation: marquee 15s linear infinite;
}

.horizontalText {
  display: inline-block;
  color: red;
}

.text-carousel-horizontal p.active {
  /* 设置激活文本的样式，例如改变文本颜色或背景色 */
  color: red;
}

.horizontalTextRightMargin6Px{
  margin-right: 6px !important;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}